import request from '@/utils/request'

// 查询testScope列表
export function listTestScope(query) {
  return request({
    url: '/system/testScope/list',
    method: 'get',
    params: query
  })
}

// 查询testScope详细
export function getTestScope(id) {
  return request({
    url: '/system/testScope/' + id,
    method: 'get'
  })
}

// 新增testScope
export function addTestScope(data) {
  return request({
    url: '/system/testScope',
    method: 'post',
    data: data
  })
}

// 修改testScope
export function updateTestScope(data) {
  return request({
    url: '/system/testScope',
    method: 'put',
    data: data
  })
}

// 删除testScope
export function delTestScope(id) {
  return request({
    url: '/system/testScope/' + id,
    method: 'delete'
  })
}

// 导出testScope
export function exportTestScope(query) {
  return request({
    url: '/system/testScope/export',
    method: 'get',
    params: query
  })
}